home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
unity320.zip
/
TASM.AWK
< prev
next >
Wrap
Text File
|
1990-08-11
|
422b
|
14 lines
# Parses the output of TASM and returns recoreds containing the following:
# Filename, Line, Column, ErrorMessage
# Since Column can not be assertained it is set to 0.
/[*]Warning[*]|[*][*]Error[*][*]|[*][*]Fatal[*][*]/ \
{
split($2,a,"(")
split(a[2],b,")")
a = sprintf("%1s, %1s, 0,",a[1],b[1])
b = " " $1
for (i=3; i <= NF; i++) b = sprintf("%1s %1s",b,$i)
print a b
}